home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -websites- / wirenet / files / thor25_arexx.lha / Examples / GlobalDefs.br < prev    next >
Text File  |  1997-09-01  |  21KB  |  340 lines

  1. /* $VER: GlobalDefs.br 4.1 (8.8.95)
  2.  
  3.     Definitions for BBSREAD
  4. */
  5.  
  6.     /* Global data flags */
  7.  
  8.     GCF_IGNORE_KEEPMSG     = '00000001'x   /* Don't count messages when packing conferences. */
  9.     GCF_IGNORE_KEEPTIME    = '00000002'x   /* Don't check time when packing conferences. */
  10.     GCF_RESET_EVENT_NR     = '00000004'x   /* Reset event numbers when packing events. */
  11.     GCF_NO_XPK_METHOD      = '00000008'x   /* Don't use any xpk method. */
  12.     GCF_FILE_SIGNATURE     = '00000010'x   /* The Signature field contains the path and name of a file containing the signature. */
  13.     GCF_AUTO_XPK_PACK      = '00000020'x   /* Automatically xpk pack all new messages when are written to the database. NB: A xpk method must have been defined. */
  14.     GCF_FORCE_PACK_REWRITE = '00000040'x   /* Force rewrite when packing conferences. */
  15.     GCF_COMMAND_SIGNATURE  = '00000080'x    /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  16.     GCF_ALWAYS_REPLY_STR   = '00000100'x    /* Use reply string on all replies. */
  17.  
  18.     /* Bit numbers for global data flags */
  19.  
  20.     GCB_IGNORE_KEEPMSG     = 0   /* Don't count messages when packing conferences. */
  21.     GCB_IGNORE_KEEPTIME    = 1   /* Don't check time when packing conferences. */
  22.     GCB_RESET_EVENT_NR     = 2   /* Reset event numbers when packing events. */
  23.     GCB_NO_XPK_METHOD      = 3   /* Don't use any xpk method. */
  24.     GCB_FILE_SIGNATURE     = 4   /* The Signature field contains the path and name of a file containing the signature. */
  25.     GCB_AUTO_XPK_PACK      = 5   /* Automatically xpk pack all new messages when are written to the database. NB: A xpk method must have been defined. */
  26.     GCB_FORCE_PACK_REWRITE = 6   /* Force rewrite when packing conferences. */
  27.     GCB_COMMAND_SIGNATURE  = 7      /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  28.     GCB_ALWAYS_REPLY_STR   = 8  /* Use reply string on all replies. */
  29.  
  30.     
  31.     /* Charset definitions */
  32.     
  33.     BRCS_ANY   = 0     /* Any charset, can't be used in BBSTypes.*/
  34.     BRCS_ISO   = 1     /* ISO Latin 1 charset.*/
  35.     BRCS_IBN   = 2     /* IBM charset used in Norway. Same as IBM CodePage 865. */
  36.     BRCS_SF7   = 3     /* 7-bit charset. Sweden and Finland. */
  37.     BRCS_NO7   = 4     /* 7-bit charset. Norway. */
  38.     BRCS_DE7   = 5     /* 7-bit charset. Denmark. */
  39.     BRCS_US7   = 6     /* 7-bit charset. USA. */
  40.     BRCS_UK7   = 7     /* 7-bit charset. United Kingdom. */
  41.     BRCS_IT7   = 8     /* 7-bit charset. Italia. */
  42.     BRCS_PO7   = 9     /* 7-bit charset. Portugal. */
  43.     BRCS_SP7   = 10    /* 7-bit charset. Espania. */
  44.     BRCS_GE7   = 11    /* 7-bit charset. Germany. */
  45.     BRCS_FR7   = 12    /* 7-bit charset. France. */
  46.     BRCS_IBM   = 13    /* IBM charset. Same as IBM CodePage 437.    */
  47.     BRCS_IBMM  = 14    /* IBM multinational charset. Same as IBM CodePage 850. */
  48.     BRCS_APPLE = 15    /* Apple charset. */
  49.     BRCS_NO_OF = 15    /* Number of charset defined. */
  50.  
  51.  
  52.     /* Charset names */
  53.  
  54.     CHARSET.1  = 'ANY'    /* Any charset, can't be used in BBSTypes. */
  55.     CHARSET.2  = 'ISO'    /* ISO Latin 1 charset. */
  56.     CHARSET.3  = 'IBN'    /* IBM charset used in Norway. Same as IBM CodePage 865. */
  57.     CHARSET.4  = 'SF7'    /* 7-bit charset. Sweden and Finland. */
  58.     CHARSET.5  = 'DE7'    /* 7-bit charset. Norway. */
  59.     CHARSET.6  = 'US7'    /* 7-bit charset. Denmark. */
  60.     CHARSET.7  = 'UK7'    /* 7-bit charset. USA. */
  61.     CHARSET.8  = 'IT7'    /* 7-bit charset. Italia. */
  62.     CHARSET.9  = 'PO7'    /* 7-bit charset. Portugal. */
  63.     CHARSET.10 = 'SP7'    /* 7-bit charset. Espania. */
  64.     CHARSET.11 = 'GE7'    /* 7-bit charset. Germany. */
  65.     CHARSET.12 = 'FR7'    /* 7-bit charset. France. */
  66.     CHARSET.13 = 'IBM'    /* IBM charset. Same as IBM CodePage 437. */
  67.     CHARSET.14 = 'IBMM'    /* IBM multinational charset. Same as IBM CodePage 850. */
  68.     CHARSET.15 = 'APPLE'    /* Apple charset. */
  69.  
  70.  
  71.     /* Script Flags */
  72.  
  73.     SF_NEWFILES   = '00000001'x   /* Do newfiles scan every logon. */
  74.     SF_AUTOPDNL   = '00000002'x   /* Automaticaly download private files. */
  75.     SF_AUTOLOGOFF = '00000004'x   /* Automaticaly logoff after all is done. */
  76.     SF_USECOLORS  = '00000008'x   /* Use colors on BBS. */
  77.     SF_ANSIMENUES = '00000010'x   /* Use ANSI menues. */
  78.     SF_BULLETINS  = '00000020'x   /* Get new bulletins on every logon. */
  79.  
  80.     /* Bit numbers for script flags */
  81.     
  82.     SB_NEWFILES   = 0   /* Do newfiles scan every logon. */
  83.     SB_AUTOPDNL   = 1   /* Automaticaly download private files. */
  84.     SB_AUTOLOGOFF = 2   /* Automaticaly logoff after all is done. */
  85.     SB_USECOLORS  = 3   /* Use colors on BBS. */
  86.     SB_ANSIMENUES = 4   /* Use ANSI menues. */
  87.     SB_BULLETINS  = 5   /* Get new bulletins on every logon. */
  88.  
  89.  
  90.     /* Quote type definitions */
  91.     QT_USE_SUPER = 0  /*
  92.        In TYPEDATA.QUOTETYPE: Same as QT_DEFAULT.
  93.        In BBSDATA.QUOTETYPE:  Use quotetype defined for the bbs type.
  94.        In CONFDATA.QUOTETYPE: Use quotetype defined for the bbs. */
  95.     QT_NONE      = 1    /* No quoting. */
  96.     QT_DEFAULT   = 2    /* Default quote char. (">") */
  97.     QT_DEF_SPACE = 3    /* Default quote char pluss space. ("> ") */
  98.     QT_CUSTOM    = 4    /* Custom quote chars defined in QuoteChars field. */
  99.     QT_INITIALS  = 5    /* Use initials as quote chars. */
  100.  
  101.  
  102.     /* Flags for bbs data */
  103.  
  104.     BDF_GLOBAL_KEEPMSG  = '00000001'x  /* Use global KeepMsg. */
  105.     BDF_GLOBAL_KEEPTIME = '00000002'x  /* Use global KeepTime. */
  106.     BDF_IGNORE_KEEPMSG  = '00000004'x  /* Don't count messages when packing conferences. */
  107.     BDF_IGNORE_KEEPTIME = '00000008'x  /* Don't check time when packing conferences. */
  108.     BDF_NO_XPK_METHOD   = '00000010'x  /* Don't use any xpk method. */
  109.     BDF_EVENTS_CHANGED  = '00000020'x  /* Events changed after last event package was made. */
  110.     BDF_NO_SIGNATURE    = '00000040'x  /* Don't use signatures. */
  111.     BDF_MARK_OWN_MSGS   = '00000080'x  /* Also mark messages from user when adding messages. */
  112.     BDF_NO_TAGS         = '00000100'x  /* Don't use tags. */
  113.     BDF_ADD_USERS       = '00000200'x  /* Parser should add users to database. */
  114.     BDF_FILE_SIGNATURE    = '00000400'x /* The Signature field contains the path and name of a file containing the signature. */
  115.     BDF_AUTO_XPK_PACK     = '00000800'x /* Automatically xpk pack new messages when they are written to this bbs. NB: A xpk method must have been defined. */
  116.     BDF_NO_AUTO_XPK_PACK  = '00001000'x /* No automatically xpk packing on this bbs. */
  117.     BDF_COMMAND_SIGNATURE = '00002000'x    /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  118.     BDF_REFLOW_QUOTING    = '00004000'x /* Reflow quoting should be on as default when answering messages. This flag should only be considered when bd_QuoteType is != QT_USE_SUPER. */
  119.     BDF_ALWAYS_REPLY_STR  = '00008000'x /* Use reply string on all replies. This flag should only be considered when bd_ReplyString is non NULL. */
  120.     BDF_NO_REPLY_STR      = '00010000'x /* Don't use reply strings on this bbs. Overrides the setting of bd_ReplyString. */
  121.     BDF_GLOBAL_REPLY_STR  = '00020000'x /* Use global reply string settings. Overrides all other bbs reply string settings. */
  122.     BDF_NO_BBS_ENTER_SCR  = '00040000'x /* Don't use a bbs enter script on this bbs. */
  123.     BDF_NO_BBS_LEAVE_SCR  = '00080000'x /* Don't use a bbs ieave script on this bbs. */
  124.     BDF_NO_CONF_ENTER_SCR = '00100000'x /* Don't use a conference enter script on this bbs. */
  125.     BDF_NO_CONF_LEAVE_SCR = '00200000'x /* Don't use a conference leave script on this bbs. */
  126.     BDF_ENCODE_8BIT_MAIL  = '00400000'x /* Encode 8 bits messages in mail conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MAIL flag is set for the bbstype. */
  127.     BDF_ENCODE_8BIT_MSGS  = '00800000'x /* Encode 8 bits messages in public conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MSGS flag is set for the bbstype. */
  128.  
  129.  
  130.     /* Bit numbers for bbs data flags */
  131.  
  132.     BDB_GLOBAL_KEEPMSG   = 0   /* Use global KeepMsg. */
  133.     BDB_GLOBAL_KEEPTIME  = 1   /* Use global KeepTime. */
  134.     BDB_IGNORE_KEEPMSG   = 2   /* Don't count messages when packing conferences. */
  135.     BDB_IGNORE_KEEPTIME  = 3   /* Don't check time when packing conferences. */
  136.     BDB_NO_XPK_METHOD    = 4   /* Don't use any xpk method. */
  137.     BDB_EVENTS_CHANGED   = 5   /* Events changed after last event package was made. */
  138.     BDB_NO_SIGNATURE     = 6   /* Don't use signatures. */
  139.     BDB_MARK_OWN_MSGS    = 7   /* Also mark messages from user when adding messages. */
  140.     BDB_NO_TAGS          = 8   /* Don't use tags. */
  141.     BDB_ADD_USERS         = 9   /* Parser should add users to database. */
  142.     BDB_FILE_SIGNATURE    = 10  /* The Signature field contains the path and name of a file containing the signature. */
  143.     BDB_AUTO_XPK_PACK     = 11  /* Automatically xpk pack new messages when they are written to this bbs. NB: A xpk method must have been defined. */
  144.     BDB_NO_AUTO_XPK_PACK  = 12  /* No automatically xpk packing on this bbs. */
  145.     BDB_COMMAND_SIGNATURE = 13  /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  146.     BDB_REFLOW_QUOTING    = 14  /* Reflow quoting should be on as default when answering messages. This flag should only be considered when bd_QuoteType is != QT_USE_SUPER. */
  147.     BDB_ALWAYS_REPLY_STR  = 15  /* Use reply string on all replies. This flag should only be considered when bd_ReplyString is non NULL. */
  148.     BDB_NO_REPLY_STR      = 16  /* Don't use reply strings on this bbs. Overrides the setting of bd_ReplyString. */
  149.     BDB_GLOBAL_REPLY_STR  = 17  /* Use global reply string settings. Overrides all other bbs reply string settings. */
  150.     BDB_NO_BBS_ENTER_SCR  = 18  /* Don't use a bbs enter script on this bbs. */
  151.     BDB_NO_BBS_LEAVE_SCR  = 19  /* Don't use a bbs ieave script on this bbs. */
  152.     BDB_NO_CONF_ENTER_SCR = 20  /* Don't use a conference enter script on this bbs. */
  153.     BDB_NO_CONF_LEAVE_SCR = 21  /* Don't use a conference leave script on this bbs. */
  154.     BDB_ENCODE_8BIT_MAIL  = 22  /* Encode 8 bits messages in mail conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MAIL flag is set for the bbstype. */
  155.     BDB_ENCODE_8BIT_MSGS  = 23  /* Encode 8 bits messages in public conferences. Only appliable when the TDF_SUPPORTS_ENCODE_8BIT_MSGS flag is set for the bbstype. */
  156.  
  157.  
  158.     /* Flags for conference data */
  159.  
  160.     CDF_MEMBER_OF           = '00000001'x  /* Member of this conference. */
  161.     CDF_MAIL                = '00000002'x  /* Private mail conference. */
  162.     CDF_READ_ONLY           = '00000004'x  /* Read only conference. */
  163.     CDF_COMPULSORY          = '00000008'x  /* Compulsory conference. */
  164.     CDF_FILE_INFO           = '00000010'x  /* File info conference. */
  165.     CDF_USER_INFO           = '00000020'x  /* User info conference. */
  166.     CDF_PRIVATE_ALLOWED     = '00000040'x  /* Private messages allowed. */
  167.     CDF_ENTER_ONLY_TO_ALL   = '00000080'x  /* Enter only allowed to ALL. */
  168.     CDF_ALIAS               = '00000100'x  /* Alias conference. */
  169.     CDF_BBS_KEEPMSG         = '00000200'x  /* Use bbs KeepMsg. */
  170.     CDF_BBS_KEEPTIME        = '00000400'x  /* Use bbs KeepTime. */
  171.     CDF_IGNORE_KEEPMSG      = '00000800'x  /* Don't count messages when packing conference. */
  172.     CDF_IGNORE_KEEPTIME     = '00001000'x  /* Don't check time when packing conference. */
  173.     CDF_NO_XPK_METHOD       = '00002000'x  /* Don't use any xpk method. */
  174.     CDF_NO_SIGNATURE        = '00004000'x  /* Don't use signatures. */
  175.     CDF_NOT_ON_BBS          = '00008000'x  /* This conference is not on the bbs. */
  176.     CDF_NO_TAGS             = '00010000'x  /* Don't use tags. */
  177.     CDF_REPLY_ONLY_TO_ALL   = '00020000'x  /* Replies should be adresses to all. */
  178.     CDF_NO_LINEWRAP_DISPLAY = '00040000'x  /* Don't line wrap messages in this conference when they are displayed. */
  179.     CDF_FILE_SIGNATURE      = '00080000'x  /* The Signature field contains the path and name of a file containing the signature. */
  180.     CDF_AUTO_XPK_PACK       = '00100000'x  /* Automatically xpk pack new messages when they are written to this conference. NB: A xpk method must have been defined. */
  181.     CDF_NO_AUTO_XPK_PACK    = '00200000'x  /* No automatically xpk packing in this conference. */
  182.     CDF_MARK_OWN_MSGS       = '00400000'x  /* Also mark messages from user when adding messages. */
  183.     CDF_COMMAND_SIGNATURE   = '00800000'x  /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  184.     CDF_REFLOW_QUOTING      = '01000000'x  /* Reflow quoting should be on as default when answering messages. This flag should only be considered when cd_QuoteType is != QT_USE_SUPER. */
  185.     CDF_ALWAYS_REPLY_STR    = '02000000'x  /* Use reply string on all replies. This flag should only be considered when cd_ReplyString is non NULL. */
  186.     CDF_NO_REPLY_STR        = '04000000'x  /* Don't use reply strings in this conf. Overrides the setting of cd_ReplyString. */
  187.     CDF_BBS_REPLY_STR       = '08000000'x  /* Use bbs reply string settings. Overrides all other conference reply string settings. */
  188.     CDF_NO_CONF_ENTER_SCR   = '10000000'x  /* Don't use a conference enter script in this conference. */
  189.     CDF_NO_CONF_LEAVE_SCR   = '20000000'x  /* Don't use a conference leave script on this conference. */
  190.  
  191.     /* Bit numbers for conference data */
  192.  
  193.     CDB_MEMBER_OF           = 0   /* Member of this conference. */
  194.     CDB_MAIL                = 1   /* Private mail conference. */
  195.     CDB_READ_ONLY           = 2   /* Read only conference. */
  196.     CDB_COMPULSORY          = 3   /* Compulsory conference. */
  197.     CDB_FILE_INFO           = 4   /* File info conference. */
  198.     CDB_USER_INFO           = 5   /* User info conference. */
  199.     CDB_PRIVATE_ALLOWED     = 6   /* Private messages allowed. */
  200.     CDB_ENTER_ONLY_TO_ALL   = 7   /* Enter only allowed to ALL. */
  201.     CDB_ALIAS               = 8   /* Alias conference. */
  202.     CDB_BBS_KEEPMSG         = 9   /* Use bbs KeepMsg. */
  203.     CDB_BBS_KEEPTIME        = 10  /* Use bbs KeepTime. */
  204.     CDB_IGNORE_KEEPMSG      = 11  /* Don't count messages when packing conference. */
  205.     CDB_IGNORE_KEEPTIME     = 12  /* Don't check time when packing conference. */
  206.     CDB_NO_XPK_METHOD       = 13  /* Don't use any xpk method. */
  207.     CDB_NO_SIGNATURE        = 14  /* Don't use signatures. */
  208.     CDB_NOT_ON_BBS          = 15  /* This conference is not on the bbs. */
  209.     CDB_NO_TAGS             = 16  /* Don't use tags. */
  210.     CDB_REPLY_ONLY_TO_ALL   = 17  /* Replies should be adresses to all. */ 
  211.     CDB_NO_LINEWRAP_DISPLAY = 18  /* Don't line wrap messages in this conference when they are displayed. */
  212.     CDB_FILE_SIGNATURE      = 19  /* The Signature field contains the path and name of a file containing the signature. */
  213.     CDB_AUTO_XPK_PACK       = 20  /* Automatically xpk pack new messages when they are written to this conference. NB: A xpk method must have been defined. */
  214.     CDB_NO_AUTO_XPK_PACK    = 21  /* No automatically xpk packing in this conference. */
  215.     CDB_MARK_OWN_MSGS       = 22  /* Also mark messages from user when adding messages. */
  216.     CDB_COMMAND_SIGNATURE   = 23  /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
  217.     CDB_REFLOW_QUOTING      = 24  /* Reflow quoting should be on as default when answering messages. This flag should only be considered when cd_QuoteType is != QT_USE_SUPER. */
  218.     CDB_ALWAYS_REPLY_STR    = 25  /* Use reply string on all replies. This flag should only be considered when cd_ReplyString is non NULL. */
  219.     CDB_NO_REPLY_STR        = 26  /* Don't use reply strings in this conf. Overrides the setting of cd_ReplyString. */
  220.     CDB_BBS_REPLY_STR       = 27  /* Use bbs reply string settings. Overrides all other conference reply string settings. */
  221.     CDB_NO_CONF_ENTER_SCR   = 28  /* Don't use a conference enter script in this conference. */
  222.     CDB_NO_CONF_LEAVE_SCR   = 29  /* Don't use a conference leave script on this conference. */
  223.  
  224.  
  225.     /* Defined values for CONFDATA.CONFNETTYPE */
  226.  
  227.     CDNT_NONET   = 0  /* This conference is a local conference. This is the default values for new conferences. */
  228.     CDNT_FIDONET = 1  /* This conference is a Fido net conference. */
  229.     CDNT_USENET  = 2  /* This conference is a usenet conference. */
  230.  
  231.  
  232.     /* Defined event types */
  233.  
  234.     EVE_ENTERMSG     =  0   /* Enter message */
  235.     EVE_REPLYMSG     =  1   /* Reply message */
  236.     EVE_JOINCONF     =  2   /* Join conference */
  237.     EVE_RESIGNCONF   =  3   /* Resign conference */
  238.     EVE_DOWNLOAD     =  4   /* Download file */
  239.     EVE_UPLOAD       =  5   /* Upload file */
  240.     EVE_CONFLIST     =  6   /* Get conflist */
  241.     EVE_CONFIGUREBBS =  7   /* Set correct configuration on the bbs. */
  242.     EVE_SENDUSERINFO =  8   /* Send userinfo */
  243.     EVE_FORWARDMSG   =  9   /* Forward a specific message */
  244.     EVE_GETNEWFILES  = 10   /* Get new files listing */
  245.     EVE_DOCOMMAND    = 11   /* Command the script should do */
  246.     EVE_AUTOLOGOFF   = 12   /* Autologoff on next session */
  247.     EVE_RETRACTMSG   = 13   /* Retract message from bbs */
  248.     EVE_RETRACTFILE  = 14   /* Retract file from bbs */
  249.  
  250.  
  251.     /* Event flags */
  252.  
  253.     EDF_DELETED       = '00000001'x   /* Event is deleted */
  254.     EDF_PACKED        = '00000002'x   /* Event is packed */
  255.     EDF_DONE          = '00000004'x   /* Event is done */
  256.     EDF_ERROR         = '00000008'x   /* Error performing this event */
  257.     EDF_UNRECOVERABLE = '00000010'x   /* Event can not be undeleted */
  258.     EDF_FREEZE        = '00000020'x   /* Event is frozen. Will not be done as long as this flag is set. */
  259.  
  260.  
  261.     /* Bit numbers for event flags */
  262.  
  263.     EDB_DELETED       = 0    /* Event is deleted */
  264.     EDB_PACKED        = 1    /* Event is packed */
  265.     EDB_DONE          = 2    /* Event is done */
  266.     EDB_ERROR         = 3    /* Error performing this event */
  267.     EDB_UNRECOVERABLE = 4    /* Event can not be undeleted */
  268.     EDB_FREEZE        = 5    /* Event is frozen. Will not be done as long as this flag is set. */
  269.  
  270.  
  271.     /* Message flags */
  272.  
  273.     MDF_READ          = '00000001'x   /* Message is read. */
  274.     MDF_REPLIED       = '00000002'x   /* Message is replied. */
  275.     MDF_PRIVATE       = '00000004'x   /* Message is private. */
  276.     MDF_TO_USER       = '00000008'x   /* Message is to the user. */
  277.     MDF_FROM_USER     = '00000010'x   /* Message is from the user. */
  278.     MDF_DELETED       = '00000020'x   /* Message is deleted. */
  279.     MDF_UNRECOVERABLE = '00000040'x   /* Message is can not be undeleted. */
  280.     MDF_KEEP          = '00000080'x   /* Keep message. Message will not be deleted during conference packing. */
  281.     MDF_TO_ALL        = '00000100'x   /* Message is to all. (has no reciever) */
  282.     MDF_XPK_TEXT      = '00000200'x   /* Message text is Xpk'ed. (Private flag) */
  283.     MDF_MARKED        = '00000400'x   /* Message is marked.  */
  284.     MDF_URGENT        = '00000800'x   /* Message is urgent.    */
  285.     MDF_IMPORTANT     = '00001000'x   /* Message is important. */
  286.     MDF_SUPERMARKED   = '00002000'x   /* Message will not be unmarked as long as this flag is set. */
  287.  
  288.     MDF_BINARY_PARTS  = '00004000'x   /* Message contains 1 or more binary parts. */
  289.     MDF_TEXT_PARTS    = '00008000'x   /* Message contains 1 or more extra text parts. */
  290.         /* These two flags does also concern possible message parts. */
  291.  
  292.     MDF_MESSAGE_PARTS = '00010000'x   /* Message contains 1 or more message parts. */
  293.     MDF_CONFIDENTIAL  = '00020000'x   /* Message is confidential. */
  294.  
  295.     MDF_HAZE_BIT0     = '01000000'x   /* Message haze level bit 0. */
  296.     MDF_HAZE_BIT1     = '02000000'x   /* Message haze level bit 1. */
  297.  
  298.  
  299.     /* Bit numbers for message flags */
  300.  
  301.     MDB_READ          =  0   /* Message is read. */
  302.     MDB_REPLIED       =  1   /* Message is replied. */
  303.     MDB_PRIVATE       =  2   /* Message is private. */
  304.     MDB_TO_USER       =  3   /* Message is to the user. */
  305.     MDB_FROM_USER     =  4   /* Message is from the user. */
  306.     MDB_DELETED       =  5   /* Message is deleted. */
  307.     MDB_UNRECOVERABLE =  6   /* Message is can not be undeleted. */
  308.     MDB_KEEP          =  7   /* Keep message. Message will not be deleted during conference packing. */
  309.     MDB_TO_ALL        =  8   /* Message is to all. (has no reciever) */
  310.     MDB_XPK_TEXT      =  9   /* Message text is Xpk'ed. (Private flag) */
  311.     MDB_MARKED        = 10   /* Message is marked.  */
  312.     MDB_URGENT        = 11   /* Message is urgent.    */
  313.     MDB_IMPORTANT     = 12   /* Message is important. */
  314.     MDB_SUPERMARKED   = 13   /* Message will not be unmarked as long as this flag is set. */
  315.     MDB_BINARY_PARTS  = 14   /* Message contains 1 or more binary parts. */
  316.     MDB_TEXT_PARTS    = 15   /* Message contains 1 or more extra text parts. */
  317.         /* These two flags does also concern possible message parts. */
  318.  
  319.     MDB_MESSAGE_PARTS = 16   /* Message contains 1 or more message parts. */
  320.  
  321.     MDB_HAZE_BIT0     = 24   /* Message haze level bit 0. */
  322.     MDB_HAZE_BIT1     = 25   /* Message haze level bit 1. */
  323.     
  324.     /* Values for the USETAG parameter to UNIQUEMSGFILE  */
  325.     
  326.     UT_MSGFILE           = 1  
  327.     UT_DETAILEDFILEDESCR = 2
  328.  
  329.  
  330.     /* User flags */
  331.  
  332.     UDF_DELETED       = '00000001'x  /* User is deleted */
  333.     UDF_UNRECOVERABLE = '00000002'x  /* User can not be undeleted */
  334.  
  335.     /* Bit numbers for user flags */
  336.  
  337.     UDB_DELETED       = 0  /* User is deleted */
  338.     UDB_UNRECOVERABLE = 1  /* User can not be undeleted */
  339.  
  340.